Optimal. Leaf size=269 \[ \frac {\sqrt [4]{3} \sqrt [4]{2-e x} (2+e x)^{3/4}}{e}+\frac {\sqrt {2} \sqrt [4]{3} \tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt [4]{2-e x}}{\sqrt [4]{2+e x}}\right )}{e}-\frac {\sqrt {2} \sqrt [4]{3} \tan ^{-1}\left (1+\frac {\sqrt {2} \sqrt [4]{2-e x}}{\sqrt [4]{2+e x}}\right )}{e}+\frac {\sqrt [4]{3} \log \left (\frac {\sqrt {6-3 e x}-\sqrt {6} \sqrt [4]{2-e x} \sqrt [4]{2+e x}+\sqrt {3} \sqrt {2+e x}}{\sqrt {2+e x}}\right )}{\sqrt {2} e}-\frac {\sqrt [4]{3} \log \left (\frac {\sqrt {6-3 e x}+\sqrt {6} \sqrt [4]{2-e x} \sqrt [4]{2+e x}+\sqrt {3} \sqrt {2+e x}}{\sqrt {2+e x}}\right )}{\sqrt {2} e} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.18, antiderivative size = 269, normalized size of antiderivative = 1.00, number of steps
used = 13, number of rules used = 10, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.417, Rules used = {689, 52, 65,
246, 217, 1179, 642, 1176, 631, 210} \begin {gather*} \frac {\sqrt {2} \sqrt [4]{3} \text {ArcTan}\left (1-\frac {\sqrt {2} \sqrt [4]{2-e x}}{\sqrt [4]{e x+2}}\right )}{e}-\frac {\sqrt {2} \sqrt [4]{3} \text {ArcTan}\left (\frac {\sqrt {2} \sqrt [4]{2-e x}}{\sqrt [4]{e x+2}}+1\right )}{e}+\frac {\sqrt [4]{3} \sqrt [4]{2-e x} (e x+2)^{3/4}}{e}+\frac {\sqrt [4]{3} \log \left (\frac {\sqrt {6-3 e x}+\sqrt {3} \sqrt {e x+2}-\sqrt {6} \sqrt [4]{2-e x} \sqrt [4]{e x+2}}{\sqrt {e x+2}}\right )}{\sqrt {2} e}-\frac {\sqrt [4]{3} \log \left (\frac {\sqrt {6-3 e x}+\sqrt {3} \sqrt {e x+2}+\sqrt {6} \sqrt [4]{2-e x} \sqrt [4]{e x+2}}{\sqrt {e x+2}}\right )}{\sqrt {2} e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 52
Rule 65
Rule 210
Rule 217
Rule 246
Rule 631
Rule 642
Rule 689
Rule 1176
Rule 1179
Rubi steps
\begin {align*} \int \frac {\sqrt [4]{12-3 e^2 x^2}}{\sqrt {2+e x}} \, dx &=\int \frac {\sqrt [4]{6-3 e x}}{\sqrt [4]{2+e x}} \, dx\\ &=\frac {\sqrt [4]{3} \sqrt [4]{2-e x} (2+e x)^{3/4}}{e}+3 \int \frac {1}{(6-3 e x)^{3/4} \sqrt [4]{2+e x}} \, dx\\ &=\frac {\sqrt [4]{3} \sqrt [4]{2-e x} (2+e x)^{3/4}}{e}-\frac {4 \text {Subst}\left (\int \frac {1}{\sqrt [4]{4-\frac {x^4}{3}}} \, dx,x,\sqrt [4]{6-3 e x}\right )}{e}\\ &=\frac {\sqrt [4]{3} \sqrt [4]{2-e x} (2+e x)^{3/4}}{e}-\frac {4 \text {Subst}\left (\int \frac {1}{1+\frac {x^4}{3}} \, dx,x,\frac {\sqrt [4]{6-3 e x}}{\sqrt [4]{2+e x}}\right )}{e}\\ &=\frac {\sqrt [4]{3} \sqrt [4]{2-e x} (2+e x)^{3/4}}{e}-\frac {2 \text {Subst}\left (\int \frac {\sqrt {3}-x^2}{1+\frac {x^4}{3}} \, dx,x,\frac {\sqrt [4]{6-3 e x}}{\sqrt [4]{2+e x}}\right )}{\sqrt {3} e}-\frac {2 \text {Subst}\left (\int \frac {\sqrt {3}+x^2}{1+\frac {x^4}{3}} \, dx,x,\frac {\sqrt [4]{6-3 e x}}{\sqrt [4]{2+e x}}\right )}{\sqrt {3} e}\\ &=\frac {\sqrt [4]{3} \sqrt [4]{2-e x} (2+e x)^{3/4}}{e}+\frac {\sqrt [4]{3} \text {Subst}\left (\int \frac {\sqrt {2} \sqrt [4]{3}+2 x}{-\sqrt {3}-\sqrt {2} \sqrt [4]{3} x-x^2} \, dx,x,\frac {\sqrt [4]{6-3 e x}}{\sqrt [4]{2+e x}}\right )}{\sqrt {2} e}+\frac {\sqrt [4]{3} \text {Subst}\left (\int \frac {\sqrt {2} \sqrt [4]{3}-2 x}{-\sqrt {3}+\sqrt {2} \sqrt [4]{3} x-x^2} \, dx,x,\frac {\sqrt [4]{6-3 e x}}{\sqrt [4]{2+e x}}\right )}{\sqrt {2} e}-\frac {\sqrt {3} \text {Subst}\left (\int \frac {1}{\sqrt {3}-\sqrt {2} \sqrt [4]{3} x+x^2} \, dx,x,\frac {\sqrt [4]{6-3 e x}}{\sqrt [4]{2+e x}}\right )}{e}-\frac {\sqrt {3} \text {Subst}\left (\int \frac {1}{\sqrt {3}+\sqrt {2} \sqrt [4]{3} x+x^2} \, dx,x,\frac {\sqrt [4]{6-3 e x}}{\sqrt [4]{2+e x}}\right )}{e}\\ &=\frac {\sqrt [4]{3} \sqrt [4]{2-e x} (2+e x)^{3/4}}{e}+\frac {\sqrt [4]{3} \log \left (\frac {\sqrt {2-e x}-\sqrt {2} \sqrt [4]{2-e x} \sqrt [4]{2+e x}+\sqrt {2+e x}}{\sqrt {2+e x}}\right )}{\sqrt {2} e}-\frac {\sqrt [4]{3} \log \left (\frac {\sqrt {2-e x}+\sqrt {2} \sqrt [4]{2-e x} \sqrt [4]{2+e x}+\sqrt {2+e x}}{\sqrt {2+e x}}\right )}{\sqrt {2} e}-\frac {\left (\sqrt {2} \sqrt [4]{3}\right ) \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\frac {\sqrt {2} \sqrt [4]{2-e x}}{\sqrt [4]{2+e x}}\right )}{e}+\frac {\left (\sqrt {2} \sqrt [4]{3}\right ) \text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\frac {\sqrt {2} \sqrt [4]{2-e x}}{\sqrt [4]{2+e x}}\right )}{e}\\ &=\frac {\sqrt [4]{3} \sqrt [4]{2-e x} (2+e x)^{3/4}}{e}+\frac {\sqrt {2} \sqrt [4]{3} \tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt [4]{2-e x}}{\sqrt [4]{2+e x}}\right )}{e}-\frac {\sqrt {2} \sqrt [4]{3} \tan ^{-1}\left (1+\frac {\sqrt {2} \sqrt [4]{2-e x}}{\sqrt [4]{2+e x}}\right )}{e}+\frac {\sqrt [4]{3} \log \left (\frac {\sqrt {2-e x}-\sqrt {2} \sqrt [4]{2-e x} \sqrt [4]{2+e x}+\sqrt {2+e x}}{\sqrt {2+e x}}\right )}{\sqrt {2} e}-\frac {\sqrt [4]{3} \log \left (\frac {\sqrt {2-e x}+\sqrt {2} \sqrt [4]{2-e x} \sqrt [4]{2+e x}+\sqrt {2+e x}}{\sqrt {2+e x}}\right )}{\sqrt {2} e}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.36, size = 142, normalized size = 0.53 \begin {gather*} \frac {\sqrt [4]{3} \left (\sqrt {2+e x} \sqrt [4]{4-e^2 x^2}-\sqrt {2} \tan ^{-1}\left (\frac {\sqrt {4+2 e x} \sqrt [4]{4-e^2 x^2}}{2+e x-\sqrt {4-e^2 x^2}}\right )-\sqrt {2} \tanh ^{-1}\left (\frac {2+e x+\sqrt {4-e^2 x^2}}{\sqrt {4+2 e x} \sqrt [4]{4-e^2 x^2}}\right )\right )}{e} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {\left (-3 e^{2} x^{2}+12\right )^{\frac {1}{4}}}{\sqrt {e x +2}}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 439 vs.
\(2 (207) = 414\).
time = 2.91, size = 439, normalized size = 1.63 \begin {gather*} \frac {1}{2} \, {\left (4 \cdot 3^{\frac {1}{4}} \sqrt {2} \arctan \left (\frac {3^{\frac {3}{4}} \sqrt {2} {\left (x e^{4} + 2 \, e^{3}\right )} \sqrt {\frac {\sqrt {3} {\left (x e^{3} + 2 \, e^{2}\right )} e^{\left (-2\right )} + 3^{\frac {1}{4}} \sqrt {2} {\left (-3 \, x^{2} e^{2} + 12\right )}^{\frac {1}{4}} \sqrt {x e + 2} + \sqrt {-3 \, x^{2} e^{2} + 12}}{x e + 2}} e^{\left (-3\right )} - 3^{\frac {3}{4}} \sqrt {2} {\left (-3 \, x^{2} e^{2} + 12\right )}^{\frac {1}{4}} \sqrt {x e + 2} - 3 \, x e - 6}{3 \, {\left (x e + 2\right )}}\right ) + 4 \cdot 3^{\frac {1}{4}} \sqrt {2} \arctan \left (\frac {3^{\frac {3}{4}} \sqrt {2} {\left (x e^{4} + 2 \, e^{3}\right )} \sqrt {\frac {\sqrt {3} {\left (x e^{3} + 2 \, e^{2}\right )} e^{\left (-2\right )} - 3^{\frac {1}{4}} \sqrt {2} {\left (-3 \, x^{2} e^{2} + 12\right )}^{\frac {1}{4}} \sqrt {x e + 2} + \sqrt {-3 \, x^{2} e^{2} + 12}}{x e + 2}} e^{\left (-3\right )} - 3^{\frac {3}{4}} \sqrt {2} {\left (-3 \, x^{2} e^{2} + 12\right )}^{\frac {1}{4}} \sqrt {x e + 2} + 3 \, x e + 6}{3 \, {\left (x e + 2\right )}}\right ) - 3^{\frac {1}{4}} \sqrt {2} \log \left (\frac {\sqrt {3} {\left (x e^{3} + 2 \, e^{2}\right )} e^{\left (-2\right )} + 3^{\frac {1}{4}} \sqrt {2} {\left (-3 \, x^{2} e^{2} + 12\right )}^{\frac {1}{4}} \sqrt {x e + 2} + \sqrt {-3 \, x^{2} e^{2} + 12}}{x e + 2}\right ) + 3^{\frac {1}{4}} \sqrt {2} \log \left (\frac {\sqrt {3} {\left (x e^{3} + 2 \, e^{2}\right )} e^{\left (-2\right )} - 3^{\frac {1}{4}} \sqrt {2} {\left (-3 \, x^{2} e^{2} + 12\right )}^{\frac {1}{4}} \sqrt {x e + 2} + \sqrt {-3 \, x^{2} e^{2} + 12}}{x e + 2}\right ) + 2 \, {\left (-3 \, x^{2} e^{2} + 12\right )}^{\frac {1}{4}} \sqrt {x e + 2}\right )} e^{\left (-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \sqrt [4]{3} \int \frac {\sqrt [4]{- e^{2} x^{2} + 4}}{\sqrt {e x + 2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 3.82, size = 172, normalized size = 0.64 \begin {gather*} -\frac {1}{2} \cdot 3^{\frac {1}{4}} {\left (2 \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} {\left (\sqrt {2} + 2 \, {\left (\frac {4}{x e + 2} - 1\right )}^{\frac {1}{4}}\right )}\right ) + 2 \, \sqrt {2} \arctan \left (-\frac {1}{2} \, \sqrt {2} {\left (\sqrt {2} - 2 \, {\left (\frac {4}{x e + 2} - 1\right )}^{\frac {1}{4}}\right )}\right ) + \sqrt {2} \log \left (\sqrt {2} {\left (\frac {4}{x e + 2} - 1\right )}^{\frac {1}{4}} + \sqrt {\frac {4}{x e + 2} - 1} + 1\right ) - \sqrt {2} \log \left (-\sqrt {2} {\left (\frac {4}{x e + 2} - 1\right )}^{\frac {1}{4}} + \sqrt {\frac {4}{x e + 2} - 1} + 1\right ) - 2 \, {\left (x e + 2\right )} {\left (\frac {4}{x e + 2} - 1\right )}^{\frac {1}{4}}\right )} e^{\left (-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (12-3\,e^2\,x^2\right )}^{1/4}}{\sqrt {e\,x+2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________